﻿<cfcomponent output="false" extends="com.cargopooling.apollo.event.EventManager" >

	<cffunction name="notifyOnError" access="public" output="false" returntype="void">
		<cfset fireEvent('onError') />
	</cffunction>

	<cffunction name="notifyOnWarning" access="public" output="false" returntype="void">
		<cfset fireEvent('onWarning') />
	</cffunction>

	<cffunction name="notifyOnFatalError" access="public" output="false" returntype="void">
		<cfset fireEvent('onFatalError') />
	</cffunction>
	
	<cffunction name="configureEvent" access="private" returntype="void" output="false">
		<cfscript>
		addEvent( 'onError' );
		addEvent( 'onWarning' );
		addEvent( 'onFatalError' );
		</cfscript>
	</cffunction>

</cfcomponent>